package File.work;

import java.io.File;
import java.util.Scanner;

public class test03 {
    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);
        System.out.println("请输入你要创建的目录");
        String str =s.nextLine();
        File file =new File("./"+str);
        if (!file.exists()){
            file.mkdirs();
        }else{
            System.out.println("已存在");
        }
    }
}
